package com.monise.dao.util;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class FactoryUtilOld {
	
	private static EntityManagerFactory factory;

	// bloco static
	static {
		FactoryUtilOld.factory = Persistence.createEntityManagerFactory("pet");
	}

	public EntityManagerFactory getFactory() {
		return FactoryUtilOld.factory;
	}
	

}
